-
-
Notifications
You must be signed in to change notification settings - Fork 249
Remove uncurried chapter and update existing docs to uncurried #750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments / nitpicks. But generally, looking great!
- `".bs.mjs"` | ||
- `".bs.cjs"` | ||
|
||
Currently prefer `.bs.js` for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like this... is this somewhat possible to fix? @cknitt @cristianoc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the main concern was mostly about genType relying on bs.js when I am not mistaken? Nowadays genType reads the rescript.json anyways, so I assume some constraints regarding configuring the .js extension should be lifted?
59145c6
to
f1b025f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Only question I have is how we treat the (.) => {} syntax in the docs.
As I understand, everything is now an uncurried function. But at some point ppl will see the syntax and wonder what it is.
Suggestion:
|
…iation/uncurried-docs
…iation/uncurried-docs
…iation/uncurried-docs
…iation/uncurried-docs
Also removed a lot of final units in example code.